define(['model'], function (Model) {
    function Search(params) {
        this.fields = [];
        this.fields.push({validator:['required'],name:'codes',type:'checkboxes',alias:'部门',option:{col:4,model:'mDepartment',displayField:'name',valueField:'code'}});
        this.fields.push({validator:['required'],name:'keyword',alias:'关键字'});
        this.callParent({isKo: true});
    }

    Search.extend(Model);

    return Search;
});
